//
//  NSBundle+OPCore.m
//  MSProgress
//
//  Created by zz on 24.8.23.
//

#import "NSBundle+OPUD.h"
#import "OPBProgressHUD.h"

@implementation NSBundle (OPUD)

+ (instancetype)opud_Bundle
{
    static NSBundle *opBundle = nil;
    if (opBundle == nil) {
        // 这里不使用mainBundle是为了适配pod 1.x和0.x
        opBundle = [NSBundle bundleWithPath:[[NSBundle bundleForClass:[OPBProgressHUD class]] pathForResource:@"OPBProgressHUD" ofType:@"bundle"]];
    }
    return opBundle;
}

@end
